package com.cloudkinto.service.orderwork.vo;

import com.cloudkinto.common.utils.StringsUtil;
import lombok.Data;

import java.util.List;

/**
 * @author zhangyy
 * @date 2020/6/18 10:09
 * @description:
 */
@Data
public class OrderWordDetailRes {

    private Long id;

    private Long shopId;
    private String shopName;
    private Long companyId;
    private String companyName;
    private String companyCode;



    private Long storageId;
    private String storageName;

    private Integer status;
    private String statusName;

    /**
     * 单号
     */
    private String workNumber;
    /**
     * 操作内容
     */
    private String content;

    private Long workType;
    private String workTypeName;

    /**
     * 系统备注
     */
    private String sysTips;


    private List<String> fileUrl;

    //todo 总费用 去 List<OrderWorkPriceDetail> priceDetailList 里面 查 总和
    private Double totalPrice;

    private List<OrderWorkPriceDetail> priceDetailList;

    private List<OrderWorkProductDetail> productDetailList;

    public String getStatusName() {
        return StringsUtil.createI18Message(statusName);
    }

    public String getWorkTypeName() {
        return StringsUtil.createI18Message(workTypeName);
    }

}
